package com.pe.adexus.portal3g.utiles;

import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.Socket;
import java.net.SocketException;
import java.util.Date;

import org.apache.commons.net.telnet.TelnetClient;

import com.pe.adexus.portal3g.componente.ObjetoData;
import com.pe.adexus.portal3g.socketclient.SaldoRecargaSocketClient;
import com.sun.corba.se.spi.orbutil.fsm.Input;

public class test {



	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		/**/
		SaldoRecargaSocketClient saldoRecargaSocketClient = new SaldoRecargaSocketClient();
		//String trama="20,1975350382";
		//String trama="10,1975350382,194695070457";
		String trama="60,043136103305";
		String cadena = saldoRecargaSocketClient.procesoRetorno(trama.trim());
		System.out.println("cadena="+cadena);
		/*
		trama="60,043136103305";
		cadena = saldoRecargaSocketClient.procesoRetorno(trama.trim());
		System.out.println("cadena="+cadena);
		*/
		//
		//socket_cliente sc = new socket_cliente();
		//sc.ejecutar();
		//System.out.println("sc.toString()="+sc.toString());
		
		//String tramaSalida = null;//sc.getTramaSalida();
		//System.out.println("tramaSalida="+tramaSalida);
	}

}
